package com.zhengwl.study.sort;


public interface Sort {

	

	void sort(int[] items);

	default void swap(int[] a, int i, int j) {
		int temp = a[i];
		a[i] = a[j];
		a[j] = temp;
	}

	public enum SortType {
		NON(0), SelectSort(1), HeapSort(2), BubbleSort(3), QuickSort(4), InsertSort(5), ShellSort(6), MergeSort(7), RadixSort(8);

		private int val;

		SortType(int value) {
			this.val = value;
		}
	}
}
